@charset "utf-8";
@import "common/reset";
@function p($px){
    @return $px/2+px;
}

.mobile{
    header{
        margin-top: p(50);
        height: p(61);
        line-height: p(61);
        text-align: center;
        button{
            width: p(123);
            height: p(57);
            border: 2px solid #FF9344;
            border-radius: p(15);
            background-color: white;
            margin-left: 2.8%;
            float: left;
        }
        .sel{
            float: right;
            margin-right: 2.8%;
            width: p(163);
            height: p(62);
            border: p(3) solid #ff9344;
            position: relative;
            select{
                border: none;
                appearance: none;
                -moz-appearance: none;
                -webkit-appearance: none;
                width: 100%;
                height: 100%;
                padding-left: p(14);
            }
            select::-ms-expand{display: none;}
            &::after{
                position: absolute;
                width: 0;
                height: 0;
                content: "";
                display: inline-block;
                border-top: p(16) solid #ff9344;
                border-right: p(16) solid transparent;
                border-left: p(16) solid transparent;
                top: p(22);
                right: p(11);
            }
        }
    }
    .swiper-container{
        height: p(236);
        width: 100%;
        padding-top: p(20);
        .swiper-wrapper{
            width: 100%;
            height: p(196);
            .swiper-slide{
                .content{
                    width: 25%;
                    text-align: center;
                    float: left;
                    .pic{
                        margin: 0 auto;
                        width: p(150);
                        height: p(150);
                        border-radius: 50%;
                        overflow: hidden;
                        img{
                            width: 100%;
                        }
                    }
                    a{
                        font-size: p(26);
                        color: black;
                    }
                    &:nth-of-type(4){
                        .pic{
                            img{
                                width: 200%;
                                position: relative;
                                top: p(-32);
                                left: p(-76);
                            }
                        }
                    }
                }
            }
        }
        .swiper-pagination{
            bottom: p(-8);
        }
    }
    section{
        overflow: hidden;
        margin-bottom: p(120);
        .box{
            height: p(240);
            width: 100%;
            margin-top: p(20);
            margin-bottom: p(20);
            &:nth-of-type(1){
                .picbox{
                    .pic{
                        img{
                            width: p(136);
                        }
                    }
                }
            }
            &:nth-of-type(2){
                .title{
                    margin-bottom: p(20);
                    img{
                        &:nth-of-type(1){
                            width: p(48);
                        }
                        &:nth-of-type(2){
                            margin-top: p(32);
                        }
                    }
                    h2{
                        margin-top: p(20);
                    }
                    a{
                        margin-top: p(28);
                    }
                    
                }
                .picbox{
                    .pic{
                        img{
                            height: p(136);
                            left: p(-32);
                            top: 0;
                        }
                    }
                }
            }
            &:nth-of-type(3){
                .title{
                    margin-bottom: p(20);
                    img{
                        &:nth-of-type(2){
                            margin-top: p(12);
                        }
                    }
                    h2{
                        margin-top: p(10);
                    }
                    a{
                        margin-top: p(10);
                    }
                }
                .picbox{
                    .pic{
                        img{
                            width: p(136);
                        }
                    }
                }
            }
            .title{
                width: 100%;
                height: p(64);
                img{
                    &:nth-of-type(1){
                        width: p(56);
                        margin-left: 2.8%;
                        float: left;
                    }
                    &:nth-of-type(2){
                        width: p(25);
                        margin-right: 2.8%;
                        float: right;
                        margin-top: p(8);
                    }
                }
                h2{
                    font-size: p(30);
                    margin-left: p(10);
                    float: left;
                }
                a{
                    color: black;
                    font-size: p(24);
                    float: right;
                    font-weight: bold;
                    margin-top: p(6);
                    margin-right: p(10);
                }
            }
            .picbox{
                width: 25%;
                height: p(136);
                text-align: center;
                float: left;
                .pic{
                    width: p(136);
                    height: 100%;
                    overflow: hidden;
                    margin: 0 auto;
                    img{
//                      width: p(136);
                        top: p(-24);
                        position: relative;
                    }
                }
            }
        }
    }
    footer{
        position: fixed;
        width: 100%;
        bottom: 0;
        height: p(136);
        background-color: white;
        ul{
            li{
                width: 25%;
                float: left;
                text-align: center;
                a{
                    font-size: p(26);
                    color: black;
                    img{
                        width: p(73);
                        margin-top: p(16);
                    }
                    span{
                        display: block;
                    }
                }
            }
        }
    }
}

